def func():
    print(1)
    print(2)
    yield "卡点1"
    print(3)
    print(4)
    yield "卡点2"
    print(5)


i = func()
print(next(i))

print(next(i))
